package com.szqhyxj.youxiangju.biz.set;

import com.szqhyxj.youxiangju.BasePresenter;
import com.szqhyxj.youxiangju.PromptView;
import com.szqhyxj.youxiangju.biz.update.bean.UpdateInfo;

import java.io.File;

/**
 * Created by leung on 2018/11/2.
 */

public interface SettingContract {
    interface View extends PromptView{
        void showOut();

        void showOutFail();

        void showToast(String s);

        void showUpdate(UpdateInfo updateInfo);

        void showDownCompleted(final String appFilePath);

        void showDownProgress(int progress);

        void showDownloadFail();

        void enshowout();

        void showout();
    }

    interface Presenter extends BasePresenter {
        void out();

        void verifyAPK();

        void setVersionNumber(int  versionNumber);

        void setCheck(String check);

        void downloadAPK(File file,String url);

        void init();

    }

}
